FROM java:11
VOLUME /tmp
ADD ./film-manage-0.0.1-SNAPSHOT.jar app.jar
EXPOSE 8181
ENTRYPOINT [ "java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/app.jar","--spring.profiles.active=dev" ]